<?php

namespace App\Http\Controllers\Admin;

use Illuminate\Http\Request;
use App\Http\Controllers\Controller;

use App\Http\Common\LogService;
use App\Http\Common\Common;

class ConfigController extends Controller
{
    /**
     * 当前默认数据模型
     * @var string
     */
    public $table = 'SystemConfig';

    /**
     * 当前页面标题
     * @var string
     */
    public $title = '网站参数配置';


    public function index(Request $req)
    {
        if ($req->isMethod('get')) {
            $title = $this->title;
            return view('admin.config',compact('title'));
        }
    }
}
